package com.exam.pojo;

/**
 * @author 郭荣锋
  *  班级实体类
 */
public class Classes {
	
	private Integer id; //编号
	private String classesName;//班级名称
	private Major major; //专业对象
	private Integer state; //状态
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getClassesName() {
		return classesName;
	}
	
	public void setClassesName(String classesName) {
		this.classesName = classesName;
	}

	public Major getMajor() {
		return major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Classes{" + "id=" + id + ", classesName='" + classesName + '\'' + ", major=" + major + ", state=" + state + '}';
	}
}
